<?php
/**
 * Created by PhpStorm.
 * User: root
 * Date: 9/4/14
 * Time: 12:49 PM
 */

use App\Modules\Ecommerce\Models\Account;

class AccountTableSeeder extends \App\Modules\Ecommerce\Seeds\DatabaseSeeder
{
    public function run()
    {
        $faker = $this->getFaker();

        for ($i = 0; $i < 10; $i++)
        {
            $email    = $faker->email;
            $password = Hash::make("password");

            Account::create([
                "email"    => $email,
                "password" => $password
            ]);
        }
    }
} 